<?php 
	$on_category = $on_brand = $on_activities = '';
	$on_class = 'class="on"';
	if( $this->Get['code'] == "brand" || $this->Get['code'] == "brand_edit" ){
		$on_brand = $on_class;
	}elseif( $this->Get['code'] == "activities" || $this->Get['code'] == "activities_edit" ){
		$on_activities = $on_class;
	}else{
		$on_category = $on_class;
	}
?>
	<div class="l_nav">
		<dl>
			<dt>品牌管理</dt>
			<dd>
				<ul>
					<li <?php echo $on_category;?>><a href="index.php?mod=brandadmin&code=category">品牌分类</a></li>
					<li <?php echo $on_brand;?>><a href="index.php?mod=brandadmin&code=brand">品牌管理</a></li>
				</ul>
			</dd>
			<!--
			<dt>活动管理</dt>
			<dd>
				<ul>
					<li <?php echo $on_activities;?>><a href="index.php?mod=brandadmin&code=activities">活动管理</a></li>
				</ul>
			</dd>
			-->
		</dl>
	</div>